<div><?base foreach="$aTest" key="$key" value="$value" ?><span><?base content="$key" ?>:<?base content="$value" ?></span></div>